package zytrade.service.mobile.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: Li
 * @description:
 * @date: Create in 14:31 2017/11/9
 * @modified By:
 */
public class OrganizationDO {
    private static final long serialVersionUID = 8260261498723984284L;

    private Long id;

    private String name;//机构名称

    private Long parentId;//父节点id

    private String description;//描述

    private Date createDate;//创建日期

    private String layer;//层

    private Integer deleted;//删除标记

    private Integer province;//省

    private Integer city;//城市

    private String address;//公司地址

    private String mobile;//手机

    private String phone;//座机

    private String legalName;//负责人姓名

    private String identityCard;//身份证号

    private String post;//邮编

    private String email;//邮箱

    private String salesman;//业务员名称

    private Long checkUserId;//审核操作员ID

    private Integer payType;//付款类型  1 刷卡 2现金 3转账

    private Integer type;//类型  1 OEM 2省代 3代理商 …

    private Long createUserId;//创建操作员ID

    private Integer status;//状态  1正常状态 2未付款  3未审核 0审核失败

    private Date updateDate;//更新时间

    private String checkDesc;//审核描述

    private Integer isCheckOrg;//是否开通机构审核  0 不需要审核 1需要审核  默认0

    private Integer isDir;//是否是目录  0 不是目录 1是目录  目录不参与分拥

    private String clearMac;//结算mac

    private Integer broStatus;//佣金状态  1 正常结算 2 暂停结算(含子集) 3 不结算(含子集) 4 暂停结算 5 不结算

    private Integer broClearType;//佣金结算类型  1 系统结算 2 代理商结算

    private Long dirPid;

    private String dirLayer;

    private Integer isCreatSon;//是否可建子集  0 不能创建  1 可以创建
    
    private String like_name;

    private String like_layer;

    private String like_dirLayer;

    private Date startCreateDate;

    private Date endCreateDate;

    private Date startUpdateDate;

    private Date endUpdateDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getLayer() {
        return layer;
    }

    public void setLayer(String layer) {
        this.layer = layer;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getProvince() {
        return province;
    }

    public void setProvince(Integer province) {
        this.province = province;
    }

    public Integer getCity() {
        return city;
    }

    public void setCity(Integer city) {
        this.city = city;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLegalName() {
        return legalName;
    }

    public void setLegalName(String legalName) {
        this.legalName = legalName;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSalesman() {
        return salesman;
    }

    public void setSalesman(String salesman) {
        this.salesman = salesman;
    }

    public Long getCheckUserId() {
        return checkUserId;
    }

    public void setCheckUserId(Long checkUserId) {
        this.checkUserId = checkUserId;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getCheckDesc() {
        return checkDesc;
    }

    public void setCheckDesc(String checkDesc) {
        this.checkDesc = checkDesc;
    }

    public Integer getIsCheckOrg() {
        return isCheckOrg;
    }

    public void setIsCheckOrg(Integer isCheckOrg) {
        this.isCheckOrg = isCheckOrg;
    }

    public Integer getIsDir() {
        return isDir;
    }

    public void setIsDir(Integer isDir) {
        this.isDir = isDir;
    }

    public String getClearMac() {
        return clearMac;
    }

    public void setClearMac(String clearMac) {
        this.clearMac = clearMac;
    }

    public Integer getBroStatus() {
        return broStatus;
    }

    public void setBroStatus(Integer broStatus) {
        this.broStatus = broStatus;
    }

    public Integer getBroClearType() {
        return broClearType;
    }

    public void setBroClearType(Integer broClearType) {
        this.broClearType = broClearType;
    }

    public Long getDirPid() {
        return dirPid;
    }

    public void setDirPid(Long dirPid) {
        this.dirPid = dirPid;
    }

    public String getDirLayer() {
        return dirLayer;
    }

    public void setDirLayer(String dirLayer) {
        this.dirLayer = dirLayer;
    }

    public Integer getIsCreatSon() {
        return isCreatSon;
    }

    public void setIsCreatSon(Integer isCreatSon) {
        this.isCreatSon = isCreatSon;
    }

    public String getLike_name() {
        return like_name;
    }

    public void setLike_name(String like_name) {
        this.like_name = like_name;
    }

    public String getLike_layer() {
        return like_layer;
    }

    public void setLike_layer(String like_layer) {
        this.like_layer = like_layer;
    }

    public String getLike_dirLayer() {
        return like_dirLayer;
    }

    public void setLike_dirLayer(String like_dirLayer) {
        this.like_dirLayer = like_dirLayer;
    }

    public Date getStartCreateDate() {
        return startCreateDate;
    }

    public void setStartCreateDate(Date startCreateDate) {
        this.startCreateDate = startCreateDate;
    }

    public Date getEndCreateDate() {
        return endCreateDate;
    }

    public void setEndCreateDate(Date endCreateDate) {
        this.endCreateDate = endCreateDate;
    }

    public Date getStartUpdateDate() {
        return startUpdateDate;
    }

    public void setStartUpdateDate(Date startUpdateDate) {
        this.startUpdateDate = startUpdateDate;
    }

    public Date getEndUpdateDate() {
        return endUpdateDate;
    }

    public void setEndUpdateDate(Date endUpdateDate) {
        this.endUpdateDate = endUpdateDate;
    }

    @Override
    public String toString() {
        return "OrganizationDO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", parentId=" + parentId +
                ", description='" + description + '\'' +
                ", createDate=" + createDate +
                ", layer='" + layer + '\'' +
                ", deleted=" + deleted +
                ", province=" + province +
                ", city=" + city +
                ", address='" + address + '\'' +
                ", mobile='" + mobile + '\'' +
                ", phone='" + phone + '\'' +
                ", legalName='" + legalName + '\'' +
                ", identityCard='" + identityCard + '\'' +
                ", post='" + post + '\'' +
                ", email='" + email + '\'' +
                ", salesman='" + salesman + '\'' +
                ", checkUserId=" + checkUserId +
                ", payType=" + payType +
                ", type=" + type +
                ", createUserId=" + createUserId +
                ", status=" + status +
                ", updateDate=" + updateDate +
                ", checkDesc='" + checkDesc + '\'' +
                ", isCheckOrg=" + isCheckOrg +
                ", isDir=" + isDir +
                ", clearMac='" + clearMac + '\'' +
                ", broStatus=" + broStatus +
                ", broClearType=" + broClearType +
                ", dirPid=" + dirPid +
                ", dirLayer='" + dirLayer + '\'' +
                ", isCreatSon=" + isCreatSon +
                ", like_name='" + like_name + '\'' +
                ", like_layer='" + like_layer + '\'' +
                ", like_dirLayer='" + like_dirLayer + '\'' +
                ", startCreateDate=" + startCreateDate +
                ", endCreateDate=" + endCreateDate +
                ", startUpdateDate=" + startUpdateDate +
                ", endUpdateDate=" + endUpdateDate +
                '}';
    }
}
